/*
 * @Author: zhangxuanlin 3139158504@qq.com
 * @Date: 2025-01-27 10:34:50
 * @LastEditors: zhangxuanlin 3139158504@qq.com
 * @LastEditTime: 2025-01-27 14:57:54
 * @FilePath: \landscape-website\css\style.css
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.featured {
    padding: 5rem 5%;
}

.featured h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.card p {
    padding: 0 1rem 1rem;
    color: #7f8c8d;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
}
/* 图库页样式 */
.gallery-section {
    padding: 5rem 5%;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.category-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: scale(1.03);
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.grid-item:hover .image-info {
    transform: translateY(0);
}

/* 关于页样式 */
.about-section {
    padding: 5rem 5%;
}

.mission-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.member {
    text-align: center;
    padding: 1rem;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* 联系页样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 5rem 5%;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        flex-wrap: wrap;
    }
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        background: white;
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        transition: right 0.3s;
    }
    
    .nav-links.active {
        right: 0;
    }
}

/* 图库页样式 */
.gallery-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.gallery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-info {
    padding: 1rem;
}

.gallery-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.location {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.description ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.description li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.description li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-item {
        grid-template-columns: 1fr;
    }

    .gallery-image img {
        height: 300px;
    }

    .gallery-info {
        padding: 0;
    }
}

